import request from '@/api/request.js';


export const login = (data) => { // 登录例子，按照这种方式来
	return request('/login', data)
}

export const vMobile = (data) => { // 验证手机号
	return request('/valid-mobile', data, 'GET')
}

export const smsSend = (data) => { // 发送短信
	return request('/sms/send', data)
}

export const register = (data) => { // 发送短信
	return request('/register', data)
}